// 封装本地存储与读取token的方法
export const GET_TOKEN = () : string | null => {
  return localStorage.getItem('TOKEN')
}

export const SET_TOKEN = (token: string): void => {
    localStorage.setItem('TOKEN', token)
}

export const REMOVE_TOKEN = (): void => {
    localStorage.removeItem('TOKEN')
}